import request from "../utils/request";

//查询全部订单
export function queryAllOrders(val) {
	return request({
		url: '/med-front-orders/orders/selectall',
		method: 'get',
		params: val
	})
}

//我的药方
export function queryMedicines(val) {
	return request({
		url: '/med-front-orders/orders/queryMedicine',
		method: 'get',
		params: val
	})
}

//获取医生信息
export function getDoctorInfos(val) {
	return request({
		url: '/med-front-orders/orders/doctorInfo',
		method: 'get',
		params: val
	})
}

//添加评论
export function isComments(val) {
	return request({
		url: '/med-front-orders/orders/isComment',
		method: 'get',
		params: val
	})
}

//判断是否评论
export function insertComments(val) {
	return request({
		url: '/med-front-orders/orders/insertComment',
		method: 'get',
		params: val
	})
}